package com.ruoyi.project.pm.info.service;

import com.ruoyi.project.pm.common.domain.PMInfoVO;
import com.ruoyi.project.pm.info.domain.PMInfo;
import com.ruoyi.project.pm.info.domain.SalesCustomer;
import com.ruoyi.project.pm.info.mapper.PMInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 铁蛋儿
 * @date 2020-09-18 10:26
 * @desc 百战程序员 http://www.itbaizhan.com
 *
 * 项目信息服务层接口实现类
 *
 */
@Service
public class PMInfoServiceImpl implements IPMInfoService {

    //声明mapper对象 并注入
    @Autowired
    private PMInfoMapper pmInfoMapper;


    /**
     * 查询数据 （所有，用来分页的）
     *
     * @param pmInfo 查询条件
     * @return
     */
    @Override
    public List<PMInfo> selectPMInfoList(PMInfo pmInfo) {
        return pmInfoMapper.selectPMInfoList(pmInfo);
    }

}
